package day03;

public class IfDemo {
    public static void main(String[] args) {
        double price = 788;
        if (price>=500){
            price*=0.9;

        }
        System.out.println("最终的价格为："+price);
        int score =66;
        if(score>=0&&score<=100){
            System.out.println("成绩合格");

        }








        /*if结构：一条路
        if (boolean){

        }*/
    }
}
